package org.winexpress

class Payment {

    static belongsTo =[invoice:Invoice]
    Invoice invoice
    
    int id
    double amount
    
    static constraints = {
         invoice(nullable:true)  
     }
}
